import io from "socket.io/client-dist/socket.io"

const baseURL = "http://192.168.44.201:10000"
// const baseURL = "http://192.168.122.223:10000"
export const createIO = function(io: any) {
  return io(baseURL, {
    transports: ["websocket"],
  })
}
